package com.kim.openfeign.feign;

import com.kim.common.resp.Result;
import com.kim.openfeign.feign.impl.StreamRabbitmqFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author KimWu
 * @date 2020/6/2 9:01
 * @Description ：
 */
@FeignClient(value = "kim-stream-rabbitmq",fallback = StreamRabbitmqFeignImpl.class)
public interface StreamRabbitmqFeign {

    @RequestMapping(value="/hello/test",method = RequestMethod.GET)
    Result<String> hello();
}
